/**
 * Fix â€˜jumping scrollbarâ€™ issue using only CSS
 */
/*
html {
  overflow-y: scroll;
}

:root {
  overflow-y: auto;
  overflow-x: hidden;
}

:root body {
  position: absolute;
}

body {
  width: 100vw;
  overflow: hidden;
}
*/

/*
 * body
 * f5f5f5
 * e2e2e2
 */
body {
  background-color: #e9ebec;
}
/* webkit, opera, IE9 */
::selection {
  background: rgba(255,183,77,.7);
}
/* mozilla firefox */
::-moz-selection {
  background: rgba(255,183,77,.7); 
}
.material-icons {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

kbd {
  font-family: Consolas,monospace;
  color: #555;
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 #bbb;
  border: 1px solid #ccc;
  border-bottom-color: #bbb;
  cursor: default;
  width: 1.5em;
  height: 1.7em;
  font-size: .8em;
  padding: 0px 5px 2px 5px;
}

#glcanvas {
  position: fixed;
  bottom: 0px;
}

/**
 * header
 */
.header {
  margin-top: 50px;
}

.no-margin {
  margin: 0px !important;
}

.menu-item {
  text-align: center;
  margin-top: 9px;
  width: 80px;
  display: inline-block;
}

.menu-item a {
  width: 90%;
}

.menu-item .material-icons {
  float:  left;
  padding-top: 2px;
}

/**
 * footer
 */
.footer-line {
  display: block;
  overflow: hidden;
  height: 50px;
  line-height: 50px;
  margin-top: 50px;
  /*color: rgba(255, 255, 255, 0.8);*/
  background-color: rgba(51, 51, 51, 0.08);
  top: 0px;
}

.footer-line a {
  color: #757575;
}

/**
 * post
 */
.post {
  margin-top: 50px !important;
}

.post-item {
  margin-bottom: 20px;
}

.read-more {
  height: 24px;
  line-height: 24px;
}

.post-item {
  color: #999;
}

.post-item a {
  color: #999;
}

.post-item a:hover {
  color: #777;
}

.meta-separator {
  margin: 5px;
  color: #999;
}

.tags-list {
  display: inline;
  line-height: 24px;
}

.tags-list-item {
  list-style:none;
  display: inline;
}

.tag-link {
  display: inline-block;
  height: 24px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.6);
  line-height: 24px;
  padding: 0 12px;
  border-radius: 16px;
  background-color: #e4e4e4;
  margin-right: 5px;
}

.tags-list-item a {
  font-size: 12px;
  text-decoration:none;
  color:#adadad
}

.card-comment {
  position: relative;
  background-color: inherit;
  border-top: 1px solid rgba(160,160,160,0.2);
  padding: 20px;
}

.card-content code {
  color: #ffa000;
  padding: 2px 5px;
  margin: 0 2px;
  border-radius: 2px;
  white-space: nowrap;
  font-size: 13px;
  background: #f9f9fa;
}

.card-content img {
  /*cursor: pointer;*/
}



/**
 * post toc
 */

.post-toc {
  position: fixed;
  right: 10px;
  top: 155px;
  width: 100%;
  display: none;
}

.toc {
  padding-left: 0px;
}

.toc-child{
  padding-left: 20px;
}

.toc-item {
  list-style-type: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-toc .card {
  margin: 0px;
}

.post-toc-fixed {
}

#btn-list-close i {
  font-size: 15px ;
  cursor: pointer;
}
/**
 * pagination
 */

.page-number {
  color:#444;
  padding:0 7px;
  text-align: center;
  margin:0 auto;
  height: 37px;
  line-height: 37px;
  font-size: 16px;
}

.block-pagination {
  text-align: center;
}

.block-pagination .prev {
  float: left;
}

.block-pagination .next {
  float: right;
}

.block-pagination .current {
  color:#fff;
  background-color: #9e9e9e;
  border-radius: 2px;
}

.extend {
  display: inline-block;
  color: #fff;
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: 37px;
  height: 37px;
  line-height: 37px;
  padding: 0;
  background-color: #9e9e9e;
  border-radius: 50%;
  transition: .3s;
  cursor: pointer;
  vertical-align: middle;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.extend i {
  width: inherit;
  display: inline-block;
  text-align: center;
  color: #fff;
  font-size: 1.6rem;
  line-height: 37px;
}

.extend:hover {
  background-color: #9e9e9e;
  box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}

.extend:before {
  border-radius: 0;
}


/**
 * archive
 */
.archive {
  font-size: 17px;
}

.archive-time {
  display: inline-block;
  margin-left: 5px;
}

.archive-link {
  display: inline;
  margin-left: 15px;
  padding-left: 5px;
  border-left: 3px solid #039be5;

  transition: margin-left 0.5s;
  -moz-transition: margin-left 0.5s;  /* Firefox 4 */
  -webkit-transition: margin-left 0.5s; /* Safari å’Œ Chrome */
  -o-transition: margin-left 0.5s;  /* Opera */
}

.archive-link:hover {
  margin-left: 30px;
}

/**
 * keybinding-panel style
 */
#modal-keybinding-panel {
  width: 400px;
}

#modal-keybinding-panel dl dt {
  float: left;
  text-align: right;
  font-weight: bold;
  margin-right: 10px;
  margin-top: -2px;
  padding: 5px;
  width: 100px;
}

#modal-keybinding-panel dl dd {
  margin:2px 0;
  padding:5px 0;
}

/**
 * herat beat animation
 */
@-webkit-keyframes heartb {
    0% {
        -webkit-transform:scale(1)
    }
    50% {
        -webkit-transform:scale(.8)
    }
    to {
        -webkit-transform:scale(1)
    }
}
@keyframes heartb {
    0% {
        -webkit-transform:scale(1);
        transform:scale(1)
    }
    50% {
        -webkit-transform:scale(.8);
        transform:scale(.8)
    }
    to {
        -webkit-transform:scale(1);
        transform:scale(1)
    }
}
.heart-beat {
    font-size: 13px;
    color: #E94F06;
    -webkit-animation:heartb 1.33s ease-in-out infinite;
    animation:heartb 1.33s ease-in-out infinite
}